package com.net.model.bean;

import java.io.Serializable;

/**
 * 版权：周和权 版权所有
 *
 * @author zhouhequan
 * 版本：1.0
 * 创建日期：2021/11/12 or 21:47
 * 描述：---
 */
public class BaseResponse<T> implements Serializable {
    /**
     * 业务code
     */
    private Integer code;
    /**
     * 错误信息msg
     */
    private String msg;
    /**
     * 返回数据
     */
    private T data;

    public BaseResponse() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    public String getMessage() {
        return msg;
    }

    public void setMessage(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
